package com.wgy.day9.Array数组;

public class Demo20201105_1 {
    public static void main(String[] args) {
        int [] arrayA;
        arrayA= new int []{5,10,17,29,78};
        System.out.println(arrayA.length);
        System.out.println(arrayA[0]);
        arrayA[0]=2;
        System.out.println(arrayA[0]);
        System.out.println(arrayA[6]);
        int[] arrayB={20,30,40,50};
        int[] arrayC=new int [3];
        int[] arrayD;
      //array D={1,2,3,4};//错误写法



    }
}
